package com.osgc.rf.np.url.util.model;


public class ErrorModel extends DefaultModel {

    Exception e;

    public ErrorModel(Exception e) {
        this.e = e;
        e.printStackTrace();
    }

    @Override
    public void index() {
        setRedirect("error");
    }

}
